package de.webtech.faceplace.pages;

import java.util.List;

import org.apache.tapestry5.ioc.annotations.Inject;

import org.hibernate.Session;

import de.webtech.faceplace.entities.Person;

public class Registered {
	
    @Inject
    private Session session;

    public List<Person> getPersons()
    {
        return session.createCriteria(Person.class).list();
    }

}
